package com.eas.task.common;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.eas.task.transform.BaseTransformTask;

public class TransformJobRunner {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext(
                "classpath:config/transformContext.xml");
        BaseTransformTask job = (BaseTransformTask) context.getBean("transformJob");
        job.work();
    }
}
